<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>淅淅的读书记录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet">
    <link href="/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="/bootstrap-validator/css/bootstrapValidator.min.css" rel="stylesheet"/>
    <link href="/css/statistic.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="/js/html5shiv.min.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->
    <link href="/favicon.ico" rel="icon">
</head>
<body>

<div class="container">
    <div class="header clearfix">
        <ul class="nav nav-pills pull-right">
            <li role="presentation"><a href="/list">记录</a></li>
            <li role="presentation" class="active"><a href="/statistic">统计</a></li>
        </ul>
        <h3 class="text-muted">淅淅的读书记录</h3>
    </div>
    <div class="row statistic">
        <div class="col-md-12 input-group input-daterange" id="daterangeselect-div">
            <input type="text" class="form-control" placeholder="选择起始日期" id="daterangestart-input" value="{{daterangestart}}" readonly>
            <span class="input-group-addon">~</span>
            <input type="text" class="form-control" placeholder="选择结束日期" id="daterangeend-input" value="{{daterangeend}}" readonly>
        </div>

        <div class="col-md-12" id="statisticresult-div">
            <h3>统计结果</h3>
            <table id="statisticresult"></table>
        </div>

        <div class="col-md-12" id="statisticresult-chart-div">
            <h3>统计图表</h3>
            <canvas id="statisticresult-chart" height="200"></canvas>
        </div>


    </div>
    <footer class="footer">
        <a href='https://gitee.com/shilfer/reading-record'><img src='https://gitee.com/shilfer/reading-record/widgets/widget_6.svg' alt='Fork me on Gitee'></a>
    </footer>
</div>

<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<script src="/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="/bootstrap-validator/js/bootstrapValidator.min.js"></script>
<script src="/js/Chart.min.js"></script>
<script src="/js/statistic.js"></script>
</body>
</html>
